package com.uchiha.nova.core.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uchiha.nova.core.tool.support.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 按钮信息 实体类
 *
 * @author magic
 */
@Data
@TableName("nova_btn_info")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "BtnInfo对象")
public class BtnInfoEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 名称
	 */
    @Schema(description = "名称")
    @TableField("name")
	private String name;
	/**
	 * 唯一标识
	 */
    @Schema(description = "唯一标识")
    @TableField("code")
	private String code;
	/**
	 * web的id
	 */
    @Schema(description = "web的id")
    @TableField("parent_id")
	private Long parentId;

}
